<?php get_header(); ?>

			<div id="content" class="clearfix row">
				<div id="main" class="col-md-8 clearfix" role="main">
                    <?php if (is_home()) { 
                        
                        query_posts($query_string.'&cat=1'); 
                        } ?>
					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
						<?php get_template_part( 'content', get_post_format() ); ?>					
					<?php endwhile; ?>	
                    
					<?php if (function_exists('page_navi')) { // if expirimental feature is active ?>
						
						<?php page_navi(); // use the page navi function ?>

					<?php } else { // if it is disabled, display regular wp prev & next links ?>
						<nav class="wp-prev-next">
							<ul class="clearfix">
								<li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
								<li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
							</ul>
						</nav>
					<?php } ?>
                    
                <div id="archive">
                    <?php if(get_locale() == 'ru_RU') { ?><a href="/category/news/page/3/">Архив новостей</a><?php } else { ?><a href="/uk/category/news/">Архів новин</a><?php } ?>
                </div>
                </div> <!-- end #main -->               
					<?php else : ?>
					
					<article id="post-not-found">
					    <header>
					    	<h1><?php _e("Not Found", "bonestheme"); ?></h1>
					    </header>
					    <section class="post_content">
					    	<p><?php _e("Sorry, but the requested resource was not found on this site.", "bonestheme"); ?></p>
					    </section>
					    <footer>
					    </footer>
					</article>
 
					
					<?php endif; ?>
		    <?php get_sidebar(); // sidebar 1 ?>

			</div> <!-- end #content -->
<?php get_footer(); ?>